﻿namespace Admin.NET.Core.Btms;
[Tenant("Btms2")]   //"ConfigId"一致
[SugarTable("BasBloodVariety", "血库2品种表")]
public class BasBloodVariety
{
    [SugarColumn(ColumnName = "Id", ColumnDescription = "主键Id", IsPrimaryKey = true, IsIdentity = false)]
    public int Id { get; set; }
    public long? LastModifierUserId { get; set; }
    public DateTime? LastModificationTime { get; set; }
    public string Code { get; set; }
    public string Name { get; set; }
    public bool IsEnabled { get; set; }

    /// <summary>
    /// 单位
    /// </summary>
    public string Unit { get; set; }

    /// <summary>
    /// 是否配血
    /// </summary>
    public bool IsCrossMatch { get; set; }

    /// <summary>
    /// 枚举血液品种
    /// </summary>
    public int BasXyzl { get; set; }


    /// <summary>
    /// 是否大量用血
    /// </summary>
    public bool IsQuantity { get; set; }

    /// <summary>
    /// 转换率 ml/u
    /// </summary>
    public decimal UnitRate { get; set; }
    public int ExpirationTime { get; set; }
    /// <summary>
    /// 单价
    /// </summary>
    public decimal? UnitPrice { get; set; }
    /// <summary>
    /// 阴性单价
    /// </summary>
    public decimal? NegativeUnitPrice { get; set; }
}
